hess — Hessenberg Matrix


\begin{rail}
Hessenberg : 'hess' '(' Matrix ')' ;
\end{rail}
hess finds the Hessenberg form of a matrix. It takes a square matrix, say A, as input, and returns a list with two elements, h and p, which are the H and P matricies respectively, such that:

A = PHPT

This is also known as finding a similar matrix, where A and H are said to be similar, and P is the change of base matrix.

Subsections